Skip to content

Merge the translation sync pull request in the land job - #16573

Merged
dhh merged 1 commit into
quattrofrom
i18n-land-merge
Oct 25, 2026
Merged

dhh merged 1 commit into
quattrofrom
i18n-land-merge

Conversation

@dhh

@dhh dhh commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

The first full translation run (49 of 49 languages) opened #16569, but it never reached quattro:

  • gh pr merge --auto didn't take, because quattro has no required checks for auto-merge to wait on.
  • 32 seconds later, the next queued run's publish-extract rebuilt i18n-sync from quattro and force-pushed it. That emptied the PR, and GitHub closed it.

Fix: land merges the sync PR itself (gh pr merge --squash). collect has already run the structural i18n test on these files, and land path-checks every file before committing, so this skips nothing i18n-check would catch. If the merge fails, the job fails loudly; the translations stay pending and the next run redoes them.

  • Runs where extraction touched executable code (bin/, install/, shell/) are still never merged here; they wait for a human review as before.
  • The header comment and docs/i18n.md no longer ask for "Allow auto-merge" or a required i18n-check.

🤖 Generated with Claude Code

Auto-merge never took without a required check, and the next run
rebuilds i18n-sync from quattro, so an open sync pull request lost its
translations to it (#16569). collect has already run the structural
i18n test on these files, so land merges straight away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

The translation workflow now merges catalog-only sync pull requests directly instead of enabling auto-merge.

  • Translation sync pull requests merge after their files pass validation.

Acknowledged intent: dhh states that quattro has no required checks and explicitly accepts redoing pending translations after a failed merge.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Publish extraction] --> B[Translate pending languages]
  B --> C[Collect and check translations]
  C --> D[Commit and open pull request]
  D --> E{Extraction changed executable code?}
  E -->|Yes| F[Wait for human review]
  E -->|No| G[Squash merge]
  G -->|Refused| H[Fail job; retry pending work next run]
Loading

Reviews (1) · Last reviewed commit: "Merge the translation sync pull request ..." · Reviewed by Greptile

@dhh
dhh merged commit 3372ceb into quattro Oct 25, 2026
2 checks passed
@dhh
dhh deleted the i18n-land-merge branch October 25, 2026 08:24
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants